package com.systemCapacity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("battlePlan")
public class BattlePlan implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "planId")
    @NotBlank(message = "作战计划id不能为空")
    private String planId;

    private String planName;

    @NotBlank(message = "作战任务不能为空")
    private String taskId;
}
